package com.wentao.mall.service;

import com.wentao.mall.model.dto.CreateOrderRequest;
import com.wentao.mall.model.po.User;
import com.wentao.mall.model.vo.OrderVo;

import java.util.List;

public interface OrderService {
    String createOrder(CreateOrderRequest createOrderRequest, User user);

    OrderVo orderDetail(String orderNo, Integer userId);

    List<OrderVo> orderList(Integer userId);

    void cancelOrder(String orderNo, Integer userId);

    String orderQrcode(String orderNo);

    void pay(String orderNo);
}
